#ifndef LEDPOINT_H
#define LEDPOINT_H
#include <QObject>
#include <QPoint>
#include <QRect>
#include "LedView.h"

class LedPoint : public QObject
{
	Q_OBJECT

	int		_xIndex; // index in screen grid
	int		_yIndex; // index in screen grid
	QPoint	_center; // center in pixels
	QRect	_rect;   // rect
	LedView* _view;  // view of this led
	QColor _color;   // led color

public:
	LedPoint(QObject* parent = NULL);
};

#endif // LEDPOINT_H
